package com.example.teesystem.entity.vo.library;

import com.example.teesystem.common.valid.ValidErrorMessage;
import com.example.teesystem.common.valid.ValidId;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author pxr
 * @data 2022/4/26 9:33
 */
@Data
public class IssueLibraryInsertVo {
    @NotNull(message = "courseId值不能为空")
    @ValidId(message = ValidErrorMessage.COURSE_ID_VALID_FAIL, ifCourseId = true)
    private Integer courseId;
    @NotNull(message = "issueId值不能为空")
    private Integer issueId;
    private String message;
    @NotNull(message = "title不能为空")
    private String title;
}
